RDKB-66345 Disable 160MHz if DFS at boot up is false - #149
Conversation
|
📋 PR Format Reminder
Expected: |
There was a problem hiding this comment.
Pull request overview
This PR updates the XB6 wireless configuration UI logic to ensure the 160MHz channel bandwidth option remains disabled when DFS-at-boot is false, even after users change channels in the UI.
Changes:
- Move
$dfsBootinitialization earlier so it’s available to channel change handlers. - When the user changes the channel away from 165, re-enable bandwidth options while preserving the DFS-at-boot restriction for 160MHz.
- Minor indentation/flow cleanup in existing DFS-at-boot gating logic.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| source/Styles/xb6/jst/wireless_network_configuration.jst | Preserve DFS-at-boot 160MHz disable behavior when channel selection changes. |
| source/Styles/xb6/jst/wireless_network_configuration_onewifi.jst | Same DFS-at-boot 160MHz restriction preservation for OneWiFi variant. |
| source/Styles/xb6/jst/wireless_network_configuration_edit.jst | Apply the same runtime channel-change restriction logic in the edit page. |
| source/Styles/xb6/jst/wireless_network_configuration_edit_onewifi.jst | Apply the same runtime channel-change restriction logic in the OneWiFi edit page. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
Suppressed comments (4)
source/Styles/xb6/jst/wireless_network_configuration.jst:1021
- Optional: declare $dfsBoot with
varto avoid creating an implicit global (which can clash with other scripts on the page).
$dfsBoot= '<?% echo($dfsAtBootup); ?>';
source/Styles/xb6/jst/wireless_network_configuration_onewifi.jst:1040
- Optional: declare $dfsBoot with
varto avoid creating an implicit global (which can clash with other scripts on the page).
$dfsBoot= '<?% echo($dfsAtBootup); ?>';
source/Styles/xb6/jst/wireless_network_configuration_edit.jst:613
- Optional: declare $dfsBoot with
varto avoid creating an implicit global (which can clash with other scripts on the page).
$dfsBoot= '<?% echo($dfsAtBootup); ?>';
source/Styles/xb6/jst/wireless_network_configuration_edit_onewifi.jst:638
- Optional: declare $dfsBoot with
varto avoid creating an implicit global (which can clash with other scripts on the page).
$dfsBoot= '<?% echo($dfsAtBootup); ?>';
is triggered by User Story RDKB-12829